cmake_minimum_required (VERSION 3.0)

add_subdirectory(DebuggerCore)
add_subdirectory(Analyzer)
add_subdirectory(Assembler)
add_subdirectory(BinaryInfo)
add_subdirectory(BinarySearcher)
add_subdirectory(Bookmarks)
add_subdirectory(BreakpointManager)
add_subdirectory(CheckVersion)
add_subdirectory(DumpState)
add_subdirectory(FunctionFinder)
if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "i[3456]86") OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64"))
	add_subdirectory(HardwareBreakpoints)
endif()
add_subdirectory(OpcodeSearcher)
add_subdirectory(ProcessProperties)
add_subdirectory(ROPTool)
add_subdirectory(References)
add_subdirectory(SymbolViewer)
add_subdirectory(Backtrace)
add_subdirectory(HeapAnalyzer)
add_subdirectory(ODbgRegisterView)
add_subdirectory(InstructionInspector)
add_subdirectory(DebuggerErrorConsole)
if(${BUILD_SIMPLE_REGISTER_VIEW})
	add_subdirectory(SimpleRegView)
endif()
